/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.on.clinical.main;

import com.on.clinical.classes.Usuario;
import com.on.clinical.dao.HibernateUtilMySql;
import com.on.clinical.presenter.PresenterTelaAutenticacao;
import com.on.clinical.view.ViewTelaAutenticacao;
import javax.swing.JOptionPane;
import javax.swing.UIManager;
import org.hibernate.Session;

/**
 *
 * @author Raphael
 */
public class main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

        try {
            for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, e);
        }
          
        new PresenterTelaAutenticacao();
    }
}
